FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
ADD ./target/demo-1.0.jar webdemo.jar
#RUN bash -c 'touch /app.jar’
EXPOSE 8080
ENTRYPOINT ["java","-jar","/webdemo.jar"]
